#include "FeedSyncTimeLine.h"

FeedSyncTimeLine* FeedSyncTimeLine::globalInstance = new FeedSyncTimeLine();
unordered_map<int,int> FeedSyncTimeLine::sync_count = unordered_map<int,int>();

FeedSyncTimeLine::FeedSyncTimeLine()
{
}

FeedSyncTimeLine::~FeedSyncTimeLine()
{
}

void FeedSyncTimeLine::addFeedToSyncTimeLine(int uid, struct st_feed feed)
{
    m_mutex.lock();

    sync_feedmap[uid].push_back(feed);

    m_mutex.unlock();
}
